﻿using System;
using System.Windows.Forms;

namespace VisualPureBasicIDE.PureBasic.Forms.Gadgets
{
    public partial class FlagEditorUi : UserControl
    {
        public FlagEditorUi()
        {
            InitializeComponent();
            Width = chkMultiLine.Width;
            Height = chkToggle.Top + chkToggle.Height;
        }

        private void ChkRight_CheckedChanged(object sender, EventArgs e)
        {
            if (chkRight.Checked)
            {
                chkLeft.Checked = false;
            }
        }

        private void ChkLeft_CheckedChanged(object sender, EventArgs e)
        {
            if (chkLeft.Checked)
            {
                chkRight.Checked = false;
            }
        }
    }
}